all:calServer calClient

calServer:calServer.cc
	g++ $^ -o $@ -std=c++11 -lpthread -ljsoncpp

calClient:calClient.cc
	g++ $^ -o $@ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -f calServer calClient